﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace JRFinances.ViewModels.Reviews
{
    public class CreateReviewViewModel
    {
        [Display(Name="Tytul")]
        public string Title { get; set; }

        [Display(Name = "Data")]
        [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd HH:mm}")]
        public DateTime Date { get; set; }

        [Display(Name = "Tresc")]
        [DataType(DataType.MultilineText)]
        public string Text { get; set; }
    }
}